@import './variable';
// 背景颜色
@for $i from 1 through length($bgList) {
  .bg-main#{$i} {
    background-color: nth($bgList, $i);
  }
}

// 主题颜色
@for $i from 1 through length($colorList) {
  .c#{$i} {
    color: nth($colorList, $i);
  }
  .bg#{$i} {
    background-color: nth($colorList, $i);
  }
}

// 文本颜色
$textColor: (title: #2C405A, text: #323232, text2: #646464, text3: #999999);
@each $k, $v in $textColor {
  .#{$k} {
    color: $v;
  }
}

$color: (white: white);
@each $k, $v in $color {
  .#{$k} {
    color: $v;
  }
  .#{$k}-bg {
    background-color: $v;
  }
}